Skip to content
This repository was archived by the owner on Jan 8, 2021. It is now read-only.

Strip whitespaces when checking if asset tag is banned#122

Open
Haeki wants to merge 1 commit into
synackray:developfrom
Haeki:whitespaces_asset_tag_check
Open

Strip whitespaces when checking if asset tag is banned#122
Haeki wants to merge 1 commit into
synackray:developfrom
Haeki:whitespaces_asset_tag_check

Conversation

@Haeki

@Haeki Haeki commented Jun 23, 2020

Copy link
Copy Markdown

Sometimes vCenter returns asset tags with a leading whitespace. Instead of adding a second version with a whitespace to the banned tags list we use the strip() method to remove the whitespace before checking.

Sometimes vCenter returns asset tags with a leading whitespace. Instead of adding a second version with a whitespace to the banned tags list we use the strip() method to remove the whitespace bevore checking
@Haeki

Haeki commented Jun 23, 2020

Copy link
Copy Markdown
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant